using UnityEngine;

public class MapFallback : MonoBehaviour
{
	private void OnCollisionEnter(Collision other)
	{
		if (other.gameObject.CompareTag("FallingObject"))
		{
			FallingObjectBehaviour component = other.gameObject.GetComponent<FallingObjectBehaviour>();
			component.ForceDisableObject();
		}
	}
}
